<div ng-init="dvm.init()">
  <div class="modal-header">
    <button type="button" class="close" ng-click="dvm.close()">&times;</button>
    <h4 class="modal-title">高级搜索</h4>
  </div>
  <div class="modal-body">
    <div class="form-group">
      <div class="input-group">
        <input id="file-filter" type="text" class="form-control" placeholder="文件夹/文件名" autofocus>
        <span class="input-group-btn">
          <button type="button" class="btn btn-default"><i class="fa fa-filter"></i></button>
        </span>
      </div>
    </div>
    <div class="form-group">
      <div class="dirtree" style="min-height:400px;max-height:600px">
        <ul id="file-tree" class="ztree"></ul>
      </div>
    </div>
  </div>
  <div class="modal-footer">
    <button type="button" class="btn btn-default" ng-disabled="!dvm.selectedFile"
        ng-click="dvm.openFile()"><i class="fa fa-folder-open-o"></i> 打开</button>
    <button type="button" class="btn btn-default" ng-click="dvm.close()">
      <i class="fa fa-times"></i> 关闭</button>
  </div>
</div>
